#include "hud.h"

HUD::HUD()
{
	this->m_bActive = false;
}

HUD::~HUD()
{
}

void HUD::keyboardInput(GLubyte key, GLint x, GLint y)
{
	switch (key)
	{
	default:
		break;
	}
}
void HUD::Draw()
{
	for(int i = 0; i < this->m_TextList.Length(); i++)
	{
		this->m_TextList[i]->Draw();
	}
}

void HUD::AddText(Text *words, string  key)
{
	this->m_TextList.Add(words, key);
}

void HUD::Activate()
{
	this->m_bActive = true;
}

void HUD::Deactivate()
{
	this->m_bActive = false;
}

bool HUD::Active()
{
	return this->m_bActive;
}
